package com.sc.userspringboot.service.impl;

import com.sc.userspringboot.pojo.Games;
import com.sc.userspringboot.dao.IGamesDao;
import com.sc.userspringboot.service.IGamesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 公共游戏库基础信息表 服务实现类
 * </p>
 *
 * @author user
 * @since 2025-09-19 06:25:46
 */
@Service
public class GamesServiceImpl extends ServiceImpl<IGamesDao, Games> implements IGamesService {

    @Autowired
    private IGamesDao gamesDao;
    @Override
    public List<Games> getGames(List<Integer> gameIds) {
        return gamesDao.selectBatchIds(gameIds);
    }
}
